package com.inifitness.tenant.core.system.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.inifitness.common.basic.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 字典类型实体
 *
 * @author sunjinfeng
 * @since 2024/04/18 11:00:00
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SysDict extends BaseEntity {

  /**
   * 主键
   */
  @TableId(type = IdType.AUTO)
  private Long id;

  /**
   * 类型名称
   */
  private String name;

  /**
   * 类型编码
   */
  private String code;

  /**
   * 状态(0:正常;1:禁用)
   */
  private Integer status;

  /**
   * 备注
   */
  private String remark;
}